package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by ${zk} on 2018/8/23 0023.
 * 接口5：推荐医院
 */

public class HomeHospitallist_Info {

    @Override
    public String toString() {
        return "HomeHospitallist_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"hid":62,"hospital_name":"山东省荣军总医院","grade":3,"hospitalType":1,"address":"济南市解放路79号","picture":"/upload/hospital/15327840404148.jpg"},{"hid":63,"hospital_name":"山东省中医药研究院附属医院","grade":3,"hospitalType":1,"address":"山东省济南市历下区经十路12675号","picture":"/upload/hospital/15327842439121.jpg"},{"hid":60,"hospital_name":" 济南市第三人民医院","grade":3,"hospitalType":1,"address":" 山东省济南市无影山中路25号","picture":"/upload/hospital/15327784456196.jpg"},{"hid":59,"hospital_name":"山东省精神卫生中心","grade":1,"hospitalType":7,"address":"山东省济南市文化东路49号","picture":"/upload/hospital/15327777466234.jpg"},{"hid":58,"hospital_name":"山东中医药大学附属眼科医院","grade":1,"hospitalType":5,"address":"山东济南英雄山路48号","picture":"/upload/hospital/15327772883541.jpg"}]
     */

    private int code;
    private String         msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "hid=" + hid +
                    ", hospital_name='" + hospital_name + '\'' +
                    ", grade=" + grade +
                    ", hospitalType=" + hospitalType +
                    ", address='" + address + '\'' +
                    ", picture='" + picture + '\'' +
                    '}';
        }

        /**
         * hid : 62
         * hospital_name : 山东省荣军总医院
         * grade : 3
         * hospitalType : 1
         * address : 济南市解放路79号
         * picture : /upload/hospital/15327840404148.jpg
         */

        private int hid;
        private String hospital_name;
        private int    grade;
        private int    hospitalType;
        private String address;
        private String picture;

        public int getHid() {
            return hid;
        }

        public void setHid(int hid) {
            this.hid = hid;
        }

        public String getHospital_name() {
            return hospital_name;
        }

        public void setHospital_name(String hospital_name) {
            this.hospital_name = hospital_name;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public int getHospitalType() {
            return hospitalType;
        }

        public void setHospitalType(int hospitalType) {
            this.hospitalType = hospitalType;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }
    }
}
